const articleModel = require('../tables/article')

// 在原有对象基础上添加方法
articleModel.test = function () {
  console.log('model')
  return this.findByPk(1)
}

module.exports = articleModel
